@page "/{tenantId}/exam/practice/{practiceId:long}"
@model CodeSpirit.Web.Pages.Exam.PracticeModel
@{
    ViewData["Title"] = "开始练习";
}

@section Head {
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="description" content="练习系统 - 移动端适配的单题练习平台">
    <meta name="theme-color" content="#007bff">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    
    <resource path="css/exam/practice.css" type="css" />
}

<div id="root" class="practice-container">
    <div id="loading" class="practice-loading">
        <div class="practice-loading-spinner"></div>
        <p class="practice-loading-text">正在加载练习...</p>
    </div>
</div>

@section Scripts {
    <script>
        window.webHost = '@(HttpContext.Request.Scheme + "://" + HttpContext.Request.Host)';
        window.tenantId = '@Model.TenantId';
        window.practiceId = '@Model.PracticeId';
    </script>
    
    <resource path="js/exam/practice.js" type="js" />
} 